import request from '@/utils/request'

// 获取身体部位列表
export function listPart() {
  return request({
    url: '/inquiry/part/list',
    method: 'get'
  })
}

// 获取身体部位相关疾病和科室
export function getPart(bodyId) {
  return request({
    url: '/inquiry/part/disease/' + bodyId,
    method: 'get'
  })
}



/* // 查询1详细
export function getLocation(id) {
  return request({
    url: '/system/location/' + id,
    method: 'get'
  })
}

// 新增1
export function addLocation(data) {
  return request({
    url: '/system/location',
    method: 'post',
    data: data
  })
}

// 修改1
export function updateLocation(data) {
  return request({
    url: '/system/location',
    method: 'put',
    data: data
  })
}

// 删除1
export function delLocation(id) {
  return request({
    url: '/system/location/' + id,
    method: 'delete'
  })
} */
